package com.ruicar.afs.cloud.basic.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruicar.afs.cloud.common.modules.contract.enums.BusinessTypeEnum;
import com.ruicar.afs.cloud.common.modules.contract.enums.ContractStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName StaySettleCondition
 * @Description: 提前结清任务池
 * @Author zyr
 * @Date 2020/6/18
 * @Version V1.0
 **/
@Data
public class SettleStayVo {

    @ApiModelProperty("合同主表-申请单号")
    private String applyNo;

    @ApiModelProperty("合同主表-合同号码")
    private String contractNo;

    @ApiModelProperty("合同主表-业务类型")
    private BusinessTypeEnum businessType;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("合同主表-合同开始日期")
    private Date startDate;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("合同主表-合同截止日期")
    private Date endDate;

    @ApiModelProperty("合同主表-合同状态")
    private ContractStatusEnum contractStatus;

    @ApiModelProperty("合同主表-产品名称")
    private String productName;

    @ApiModelProperty("合同客户基本信息表-客户姓名")
    private String custName;

    @ApiModelProperty("合同金融协议表-结算利率")
    private BigDecimal settleRate;

    @ApiModelProperty("合同金融协议表-总期数")
    private Integer loanTerm;

    @ApiModelProperty("还款计划表-已还期数")
    private Integer alreadyPeriods;

    @ApiModelProperty("还款计划表-未还期数")
    private Integer noAlreadyPeriods;

    @ApiModelProperty("合作商全称")
    private String channelFullName;


}
